package cn.eoeit.mmy.service;

import javax.servlet.http.HttpServletRequest;

import cn.eoeit.mmy.model.UserInfo;

public interface ISessionService {

	public static final String LOGIN_SESSION_KEY = "__LOGIN_KEY__";
	public static final String SESSION_FACTORY_KEY = "__SESSION_FACTORY_KEY__";
	public static final String SESSION_MENU_KEYS = "__SESSION_MENU_KEYS__";
    
	boolean isLogged(HttpServletRequest request);

	UserInfo getLoginInfo(HttpServletRequest request);

	public void storeLoginInfo(HttpServletRequest session,UserInfo customer) ;
	
	
	 public void clear(HttpServletRequest request);
}
